﻿<KCtl:BaseUserControl x:Class="Kiva7.Pages.NoLoansControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:KCtl="clr-namespace:Kiva7.Controls"
     mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <Button Click="Search_Click"
            Style="{StaticResource KivaButtonStyle}"
            Visibility="{Binding Lender.LoanCount, Converter={StaticResource numberNotVisibility}}">
        <StackPanel>
            <TextBlock Text="{Binding Path=L.YouDontHaveLoans, Source={StaticResource L}}"  
                                       TextAlignment="Center"
                                       Style="{StaticResource KivaButtonTextStyle}"/>
            <TextBlock Text="{Binding Path=L.ClickHereToAddLoans, Source={StaticResource L}}" 
                                       TextAlignment="Center"
                                       TextWrapping="Wrap"  Style="{StaticResource KivaButtonTextStyle}"/>
        </StackPanel>
    </Button>

</KCtl:BaseUserControl>
